<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<script>
		var date = new Date();
		var time = date.getTime();
		var localtime = date.toLocaleString();

		console.log(date);
		console.log(time);
		console.log(localtime)

	</script>
</body>
</html>